Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

fix: fix app.css file path on windows machines #955

Merged
merged 1 commit into from
Jun 28, 2019

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Jun 28, 2019

Currently tns test command on windows throws the following error:

ERROR in ./app.js
Module not found: Error: Can't resolve '..
ode_modules
ativescript-unit-test-runnerapp.css' in 'C:\Jenkins\workspace\master-cli-test-windows\TestApp\app'
 @ ./app.js 12:93-157
Webpack compilation complete.
{ Error: Executing webpack failed with exit code 2.
    at DevicesService.<anonymous> (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\common\mobile\mobile-core\devices-service.js:368:38)
    at Generator.throw (<anonymous>)
    at rejected (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\common\mobile\mobile-core\devices-service.js:11:65)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  allErrors:
   [ { Error: Executing webpack failed with exit code 2.
         at ChildProcess.childProcess.on (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\services\webpack\webpack-compiler-service.js:107:39)
         at ChildProcess.emit (events.js:189:13)
         at maybeClose (internal/child_process.js:970:16)
         at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) code: 2, deviceIdentifier: 'emulator-5562'

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes/Implements/Closes #[Issue Number].

@cla-bot cla-bot bot added the cla: yes label Jun 28, 2019
Currently `tns test` command on windows throws the following error:
```
ERROR in ./app.js
Module not found: Error: Can't resolve '..
ode_modules
ativescript-unit-test-runnerapp.css' in 'C:\Jenkins\workspace\master-cli-test-windows\TestApp\app'
 @ ./app.js 12:93-157
Webpack compilation complete.
{ Error: Executing webpack failed with exit code 2.
    at DevicesService.<anonymous> (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\common\mobile\mobile-core\devices-service.js:368:38)
    at Generator.throw (<anonymous>)
    at rejected (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\common\mobile\mobile-core\devices-service.js:11:65)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  allErrors:
   [ { Error: Executing webpack failed with exit code 2.
         at ChildProcess.childProcess.on (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\services\webpack\webpack-compiler-service.js:107:39)
         at ChildProcess.emit (events.js:189:13)
         at maybeClose (internal/child_process.js:970:16)
         at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) code: 2, deviceIdentifier: 'emulator-5562'
```
@Fatme Fatme force-pushed the fatme/fix-css-file-windows branch from b01ce99 to 7d734d8 Compare June 28, 2019 06:21
@dtopuzov
Copy link
Contributor

test

@Fatme Fatme merged commit aba0313 into master Jun 28, 2019
@Fatme Fatme deleted the fatme/fix-css-file-windows branch June 28, 2019 10:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants